package com.example.sync.handler.impl.wrap;

import lombok.Data;

import java.io.Serializable;

/*
 * @className: RabbitMQMessageWrap
 * @author: chentao
 * @date: 2025/3/25 下午5:06
 * @Version: 1.0
 * @description:
 */
@Data
public class RabbitMQMessageWrap implements Serializable {

    private String exchange;

    private String routingKey;

    private String content;

    public RabbitMQMessageWrap() {
    }

    public RabbitMQMessageWrap(String exchange, String routingKey, String content) {
        this.exchange = exchange;
        this.routingKey = routingKey;
        this.content = content;
    }
}
